<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<link href="estilo.css" rel="stylesheet" type="text/css"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Ingresar al Sistema</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
</head>
<body>
<html:form action="login.do" focus="login" method="post">
<jsp:include page="header.jsp"/>
<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="signup table">
  <tr>
    <td align="center"><div><h2>Ingreso al Sistema</h2></div></td>
  </tr><tr>
    <td align="center">
		<logic:messagesPresent>
			<html:messages id="error">
				<LI><font color="red"><bean:write name="error"/></font></LI>
			</html:messages>
		</logic:messagesPresent>    
	</td>
  </tr>
  <tr>
    <td align="center"><table width="30%"  border="0">
      <tr>
        <td class="etiqueta">Usuario:</td>
        <td class="etiqueta"><html:text property="login" size="30"/></td>
      </tr>
      <tr>
        <td class="etiqueta">Contrase&ntilde;a:</td>
        <td class="etiqueta"><html:password property="password" size="30"/></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><html:submit value="Ingresar"/></td>
      </tr>
    </table></td>
  </tr>
 </table>
</html:form>

</body>
</html>
